package f_Polymorphism;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package f_Polymorphism
 * @date 2024/3/31 下午1:10
 */
public class Cat extends Animal{
    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }
    public void catchMouse(){
        System.out.println("猫抓老鼠");
    }
}
